/*登录区域*/
#login,
#register{
    margin: 100px auto 0;
    width: 400px;
    height: 200px;
}
#login h2,
#register h2 {
    margin-bottom: 25px;
    height: 50px;
    line-height: 50px;
    font-size: 30px;
    text-align: center;
    color: #009d4b;
}
#login form,
#register form {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: space-between;
    width: 100%;
    height: 150px;
}
#login form div,
#register form div {
    width: 100%;
    text-align: center;
}
#login form div:nth-of-type(2),
#register form div:nth-of-type(2),
#register form div:nth-of-type(3) {
    margin-top: 20px;
}
#login form div:nth-of-type(3),
#register form div:nth-of-type(4) {
    display: flex;
    justify-content: space-evenly;
    margin-top: 20px;
}
/*用户中心区域*/
#user_center {
    display: flex;
    margin: 40px auto;
    width: 1170px;
    background-color: #e3f2e3;
}
#user_center>ul>li a {
    display: block;
    width: 150px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #333;
}
#user_center>ul>li a:hover {
    background-color: #009d4b;
    color: #fff;
}
/*用户联系人子页面*/
#user_center #contact,
#user_center #buy_ticket,
#user_center #my_ticket,
#user_center #add_contact {
    padding: 10px 5px;
    background-color: #eee;
}
#user_center #contact h2 {
    display: inline-block;
}
#user_center #contact>a {
    display: inline-block;
    margin-left: 15px;
    margin-bottom: 5px;
    width: 160px;
    height: 23px;
    background-color: #fff;
    border-radius: 17px;
    font-size: 15px;
    font-weight: 400;
    text-align: center;
    line-height: 23px;
    color: #333;
}
#user_center #contact>div,
#user_center #my_ticket>div {
    padding: 10px 8px;
    width: 950px;
    height: 480px;
    overflow-y: scroll;
    background-color: white;
}
#user_center #contact div ul li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3px;
    padding: 0 10px;
    width: 900px;
    height: 40px;
    background-color: #eeeeee;
}
#user_center #contact div h3 {
    display: inline-block;
}
#user_center #contact div h3:nth-of-type(1) {
    margin-left: 50px;
}
#user_center #contact div h3:nth-of-type(2) {
    margin-left: 333px;
}
#user_center #contact div ul li span {
    font-size: 16px;
    line-height: 40px;
}
#user_center #contact div ul li div {
    display: flex;
    padding-top: 5px;
}
#user_center #contact div ul li a {
    display: inline-block;
    margin-left: 5px;
    width: 40px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    overflow: hidden; /*标签超出范围隐藏*/
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    border-radius: 3px;
}
#user_center #contact div ul li a:nth-of-type(1) {
    background-color: #08f;
}
#user_center #contact div ul li a:nth-of-type(2) {
    background-color: #55f;
}
#user_center #contact div ul li a:nth-of-type(3) {
    background-color: #f55;
}
#user_center #add_contact>a {
    font-size: 18px;
}
#user_center #add_contact>div>a {
    display: block;
    width: 100px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 15px;
    background-color: #00a650;
    color: #fff;
}
#user_center #add_contact strong {
    color: #f55;
}
/*购票子页面*/
#user_center #buy_ticket>div,
#user_center #add_contact>div {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-content: center;
    padding: 20px 40px;
    width: 950px;
    height: 480px;
    background-color: white;
}
#user_center #buy_ticket>div {
    font-size: 20px;
}
#user_center #buy_ticket>div>div:nth-of-type(1) {
    display: flex;
    justify-content: space-evenly;
    width: 800px;
    background-color: #eeeeee;
    font-size: 20px;
    color: #333;
}
#user_center #buy_ticket>div>div:nth-of-type(1) strong {
    font-size: 30px;
    color: red;
}
#user_center #buy_ticket>div a {
    display: inline-block;
    margin-left: 25px;
    width: 80px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    background-color: #00a650;
    color: #fff;
    border-radius: 3px;
}
/*我的订单子页面*/
#user_center #my_ticket ul li {
    margin-bottom: 3px;
    padding: 0 10px;
    background-color: #eeeeee;
}
#user_center #my_ticket ul li:nth-of-type(1),
#user_center #my_ticket ul li a {
    display: flex;
}
#user_center #my_ticket ul li a:hover {
    color: #00a650;
}
#user_center #my_ticket ul li:nth-of-type(1) {
    background-color: #fff;
}
#user_center #my_ticket ul li h3 {
    width: 176px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}